//
//  DockView.h
//  Doc Ebook
//
//  Created by Hai Nguyen on 9/15/12.
//  Copyright (c) 2012 Hai Nguyen. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DockViewDelegate;

@interface DockView : UIView{
	id <DockViewDelegate> delegate;
	IBOutlet UIButton *newsButon, *libButton, *favButton, *settingButton, *lockButton;
	IBOutlet UIImageView *bgImageView;
}

@property (nonatomic, assign) id <DockViewDelegate> delegate;

- (IBAction)pressMe:(id)sender;
- (IBAction)lock:(id)sender;

@end

@protocol DockViewDelegate <NSObject>

- (void)pressButtonAtIndex:(int)index selected:(BOOL)yn inDock:(DockView*)dock;
- (void)lockButtonPress:(DockView*)dock selected:(BOOL)yn;

@end
